//
//  PublicTableView.h
//  Mi_Cet4Listening
//
//  Created by lxl on 2018/8/23.
//  Copyright © 2018年 lxl. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "CourseWebView.h"
@interface PublicTableView : UIView<UITableViewDataSource,UITableViewDelegate>{
    CGFloat  webViewHeight;

}
@property (nonatomic, strong) UITableView    * tableView;
@property (nonatomic, strong) NSMutableArray * dataSource;
@property (nonatomic, assign) NSInteger        currentPage;

//@property (nonatomic, assign) BOOL        needHeader;
@property (strong, nonatomic) CourseWebView * courseWeb;
@property (strong, nonatomic) NSString           *str_desc;

@property (nonatomic, strong) NSString * str_Title;
@property (nonatomic, strong) NSString * str_userName;

//@property (nonatomic, strong) NSString * str_source;
@property (nonatomic, strong) NSString * str_headline;
@property (strong, nonatomic) UILabel * headerLab;
@property (strong, nonatomic) UILabel * nameLab;
@property (strong, nonatomic) UILabel * descLab;
@property (strong, nonatomic) UIImageView * avaterImg;
@property (strong, nonatomic) UIView * headView;

@property (nonatomic, copy) void(^didClickRow)(NSInteger selectedIndex,NSString * str_title);

#pragma mark-添加上拉加载，下拉刷新
- (void)addHeaderRefreshFinish:(void(^)(void))_finish;
- (void)addFooterRefreshFinish:(void(^)(void))_finish;
- (void)addTheHeaderView;
@end
